@charset 'utf-8';

:root {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0%);
}

html {
  background-color: var(--rt-color-background-body);
}

body,
div,
dl,
dt,
dd,
ul,
ol,
li,
tr,
td,
th,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
br,
img,
table,
section,
option,
input,
button,
form,
a,
p,
textarea {
  padding:0;
  margin:0;
  box-sizing: border-box;
}

body {
  font-family: var(--rt-font-family);
  font-size: var(--rt-font-main);
  font-weight: 400;
  color: var(--rt-color-text);
}

ul,
ol,
li {
  list-style:none;
}

a,
u {
  text-decoration:none;
}

a,
button {
  cursor: pointer;
}

a {
  color: var(--rt-color-primary);
  transition: opacity ease-in-out 0.2s;

  &:active {
    opacity: 0.8;
  }
}

img {
  display:block;
  border: 0;
}

input, fieldset {
  width: 100%;
  color: var(--rt-color-text);
  background-color: var(--rt-color-background)!important;
  border: 0;
  outline: none;
  appearance:none;
}

i,
em {
  font-style: normal;
}

b,
strong {
  font-weight: normal;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 清除浮动破坏带来的塌陷问题 清除浮动的兼容IE */
.clearfloat {
  zoom: 1;
}

.clearfloat::after {
  display: block;
  height: 0;
  clear: both;
  content: "";
  visibility: hidden;
}
